package com.wantong.jianpu.adapters;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.wantong.jianpu.R;
import com.wantong.jianpu.beans.LocationBean;

/**
 * @author PACY
 * @date 2022/5/23
 * description:
 */
public class LocationContentAdapter extends BaseQuickAdapter<LocationBean, BaseViewHolder> {
    public LocationContentAdapter() {
        super(R.layout.location_content_item_view);
    }

    @Override
    protected void convert(BaseViewHolder holder, LocationBean s) {
        holder.setText(R.id.location_name,s.getName());
    }
}
